package realQuestion.jiezi;

public class Test {

//    static class  Test1
//    {
//        public int x;
//        public int y;
//        void cal ( int a, int b){
//        x = a + 1;
//        y = b;
//        }
//    }

public int x=4;
            public String y="vvvvv";
    void cal ( int a, String b){
        x = a + 1;
      y=b;
        }

    public static void main(String[] args) {
        //TODO:2023/8/30 编译不通过
        Test test = new Test();
        test.cal(2,"xxxx");
        System.out.println(test.x);
        System.out.println(test.y);

    }



}
